<?php
require_once $GLOBALS['ROO'] . 'Modules/Operative/class.operative.php';

##Erro input
if($_POST['CORR']<0){die();}

$doPayOrder = new Operative();
$doPayOrder->Operative_MakePayOrder($_POST['CORR'], $_POST['Channel'], substr($_POST['POOL'], 0, strlen($_POST['POOL']) - 1));

include($GLOBALS['PAD'] . 'Modules/FTK9D4D0/Lib/a05_elem_order.mex');
?>
<script charset="utf-8" type="text/javascript">subform('QueryOrders','Console');</script>